const mongoose = require('./core')

let FocusSchema = mongoose.Schema({
  type: {type: String},
  title: { type: String },
  link: { type: String },
  focus_img: {type: String},
  status: { type: Number, default: 1 },
  sort: {type: Number},
  create_time: { type: Number },
  modify_time: { type: Number }
});

var Focus = mongoose.model('Focus', FocusSchema, 'focus')

module.exports = Focus;
